package com.wsq.annotation;

import com.wsq.annotation.demo.AnnotationDemo;
import com.wsq.annotation.demo.HandleAnnotation;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * Date:2022/7/11
 * Time:22:02
 * author:wushengqi
 */
class Main {
//    public static void main(String[] args) {
//        AnnotationDemo annotationDemo = new AnnotationDemo();
//        HandleAnnotation handleAnnotation = new HandleAnnotation();
//        try {
//            Method method = handleAnnotation.handleMethodAnnotation(annotationDemo);
//
//            method.invoke(annotationDemo, new Object[]{});
//        } catch (NoSuchMethodException e) {
//            e.printStackTrace();
//        } catch (IllegalAccessException e) {
//            e.printStackTrace();
//        } catch (InvocationTargetException e) {
//            e.printStackTrace();
//        }
//    }
}
